DevForce Help Reference
Clear Method (RelatedEntityList<T>)


Clears related entities from the list..
Syntax
'Declaration
 
Public Sub Clear() 
'Usage
 
Dim instance As RelatedEntityList(Of T)
 
instance.Clear()
public void Clear()
Remarks
Note: If the list contains entities having a many-to-many relationship with the parent entity, the Clear method will mark these m:m relationships as deleted, and persist these changes to the database with the next SaveChanges.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RelatedEntityList<T> Class
RelatedEntityList<T> Members

Send Feedback